<template>
  <div>
    <div>{{ qiankunRoutes }}</div>
    <el-button @click="jump">跳转</el-button>
    <br />
    {{ list }}
  </div>
</template>

<script>
import { mapState } from "vuex";
import { getList } from "@/api/test/test";

export default {
  computed: {
    ...mapState("qiankunRoutes", ["qiankunRoutes"]),
  },
  data() {
    return {
      list: [],
    };
  },
  mounted() {
    getList().then((res) => {
      this.list = res;
    });
  },
  methods: {
    jump() {
      this.$router.push("/infoType");
    },
  },
};
</script>

<style scoped></style>
